//动态api
import request from '@/utils/request'

// 获取所有审核动态
export const getAllUserDynamicListByTimeDesc = (data) => request({
  url: '/applet/dynamic/getAllUserDynamicListByTimeDesc',
  method: 'post',
  data
})

// 审核通过
export const getPassDynamic = (data) => request({
  url: '/applet/dynamic/passDynamic',
  method: 'post',
  data
})

// 审核驳回
export const getRejectDynamic = (data) => request({
  url: '/applet/dynamic/rejectDynamic',
  method: 'post',
  data
})

// 审核下架
export const offShelfDynamic = (data) => request({
  url: '/applet/dynamic/offShelfDynamic',
  method: 'post',
  data
})


// 按时间升序获取所有用户信息审核信息分页列表
export const getAllUserDetailProcessByTimeAsc = (data) => request({
  url: '/biz/userDetailProcess/getAllUserDetailProcessByTimeAsc',
  method: 'post',
  data
})
// 通过用户信息审核
export const passUserDetailProcess = (data) => request({
  url: '/biz/userDetailProcess/passUserDetailProcess',
  method: 'post',
  data
})
// 拒绝用户信息审核
export const rejectUserDetailProcess = (data) => request({
  url: '/biz/userDetailProcess/rejectUserDetailProcess',
  method: 'post',
  data
})


// 用户反馈列表
export const pageFeedbackList = (data) => request({
  url: '/applet/feedback/pageFeedbackList',
  method: 'post',
  data
})
// 处理用户反馈
export const handleFeedback = (data) => request({
  url: '/applet/feedback/handleFeedback',
  method: 'post',
  data
})


// 新建一条处罚规则
export const addPenaltyConfiguration = (data) => request({
  url: '/biz/penalty/addPenaltyConfiguration',
  method: 'post',
  data
})



// 获取所有分页获取广告推广记录列表
export const pageAdvertisementRecordList = (data) => request({
  url: '/biz/advertisement/pageAdvertisementRecordList',
  method: 'post',
  data
})

// 广告推广审核通过
export const passAdvertisementRecordList = (data) => request({
  url: '/biz/advertisement/passAdvertisementRecordList',
  method: 'post',
  data
})

// 广告推广审核驳回
export const rejectAdvertisementRecordList = (data) => request({
  url: '/biz/advertisement/rejectAdvertisementRecordList',
  method: 'post',
  data
})


// 广告推广暂停
export const stopRecord = (data) => request({
  url: '/biz/advertisement/stopRecord',
  method: 'post',
  data
})

// 广告推广继续
export const restoreRecord = (data) => request({
  url: '/biz/advertisement/restoreRecord',
  method: 'post',
  data
})


// 获取所有分页动态推广审核列表
export const getDynamicExtensionProcessList = (data) => request({
  url: '/biz/dynamicExtension/getDynamicExtensionProcessList',
  method: 'post',
  data
})

// 动态推广审核通过
export const dynamicExtensionProcessPass = (data) => request({
  url: '/biz/dynamicExtension/dynamicExtensionProcessPass',
  method: 'post',
  data
})

// 动态推广审核驳回
export const dynamicExtensionProcessReject = (data) => request({
  url: '/biz/dynamicExtension/dynamicExtensionProcessReject',
  method: 'post',
  data
})



// 动态审核人员获取动态审核列表
export const processUserGetDynamicList = (data) => request({
  url: '/applet/dynamic/processUserGetDynamicList',
  method: 'post',
  data
})





// 分页获取身份认证列表
export const getIdentityAuthList = (data) => request({
  url: '/biz/auth/getIdentityAuthList',
  method: 'post',
  data
})
// 身份认证审核
export const auditIdentityAuth = (data) => request({
  url: '/biz/auth/auditIdentityAuth',
  method: 'post',
  data
})



// 分页获取学历认证列表
export const getEducationAuthList = (data) => request({
  url: '/biz/auth/getEducationAuthList',
  method: 'post',
  data
})
// 学历认证审核
export const auditEducationAuth = (data) => request({
  url: '/biz/auth/auditEducationAuth',
  method: 'post',
  data
})



// 分页获取工作认证列表
export const getWorkAuthList = (data) => request({
  url: '/biz/auth/getWorkAuthList',
  method: 'post',
  data
})
// 工作认证审核
export const auditWorkAuth = (data) => request({
  url: '/biz/auth/auditWorkAuth',
  method: 'post',
  data
})

